package com.hx.collection;

import java.util.Set;
import java.util.TreeSet;

/**
 * @author jxlgcmh
 * @create 2019-05-07 15:16
 */
public class SetTree {
    public static void main(String[] args) {
        Set set = new TreeSet();
        //只能添加同一种类型数据
        set.add(8);
        set.add(10);
    }
}
